﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001113 RID: 4371
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectRogueCommonDialogueOptionCsReq : IMessage<SelectRogueCommonDialogueOptionCsReq>, IMessage, IEquatable<SelectRogueCommonDialogueOptionCsReq>, IDeepCloneable<SelectRogueCommonDialogueOptionCsReq>, IBufferMessage
	{
		// Token: 0x17003760 RID: 14176
		// (get) Token: 0x0600C39D RID: 50077 RVA: 0x00210FE1 File Offset: 0x0020F1E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectRogueCommonDialogueOptionCsReq> Parser
		{
			get
			{
				return SelectRogueCommonDialogueOptionCsReq._parser;
			}
		}

		// Token: 0x17003761 RID: 14177
		// (get) Token: 0x0600C39E RID: 50078 RVA: 0x00210FE8 File Offset: 0x0020F1E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectRogueCommonDialogueOptionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003762 RID: 14178
		// (get) Token: 0x0600C39F RID: 50079 RVA: 0x00210FFA File Offset: 0x0020F1FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectRogueCommonDialogueOptionCsReq.Descriptor;
			}
		}

		// Token: 0x0600C3A0 RID: 50080 RVA: 0x00211001 File Offset: 0x0020F201
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectRogueCommonDialogueOptionCsReq()
		{
		}

		// Token: 0x0600C3A1 RID: 50081 RVA: 0x00211009 File Offset: 0x0020F209
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectRogueCommonDialogueOptionCsReq(SelectRogueCommonDialogueOptionCsReq other) : this()
		{
			this.optionId_ = other.optionId_;
			this.eventUniqueId_ = other.eventUniqueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C3A2 RID: 50082 RVA: 0x0021103A File Offset: 0x0020F23A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectRogueCommonDialogueOptionCsReq Clone()
		{
			return new SelectRogueCommonDialogueOptionCsReq(this);
		}

		// Token: 0x17003763 RID: 14179
		// (get) Token: 0x0600C3A3 RID: 50083 RVA: 0x00211042 File Offset: 0x0020F242
		// (set) Token: 0x0600C3A4 RID: 50084 RVA: 0x0021104A File Offset: 0x0020F24A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OptionId
		{
			get
			{
				return this.optionId_;
			}
			set
			{
				this.optionId_ = value;
			}
		}

		// Token: 0x17003764 RID: 14180
		// (get) Token: 0x0600C3A5 RID: 50085 RVA: 0x00211053 File Offset: 0x0020F253
		// (set) Token: 0x0600C3A6 RID: 50086 RVA: 0x0021105B File Offset: 0x0020F25B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventUniqueId
		{
			get
			{
				return this.eventUniqueId_;
			}
			set
			{
				this.eventUniqueId_ = value;
			}
		}

		// Token: 0x0600C3A7 RID: 50087 RVA: 0x00211064 File Offset: 0x0020F264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectRogueCommonDialogueOptionCsReq);
		}

		// Token: 0x0600C3A8 RID: 50088 RVA: 0x00211072 File Offset: 0x0020F272
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectRogueCommonDialogueOptionCsReq other)
		{
			return other != null && (other == this || (this.OptionId == other.OptionId && this.EventUniqueId == other.EventUniqueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C3A9 RID: 50089 RVA: 0x002110B0 File Offset: 0x0020F2B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OptionId != 0U)
			{
				num ^= this.OptionId.GetHashCode();
			}
			if (this.EventUniqueId != 0U)
			{
				num ^= this.EventUniqueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C3AA RID: 50090 RVA: 0x00211108 File Offset: 0x0020F308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C3AB RID: 50091 RVA: 0x00211110 File Offset: 0x0020F310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C3AC RID: 50092 RVA: 0x0021111C File Offset: 0x0020F31C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.OptionId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.OptionId);
			}
			if (this.EventUniqueId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C3AD RID: 50093 RVA: 0x00211178 File Offset: 0x0020F378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OptionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OptionId);
			}
			if (this.EventUniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C3AE RID: 50094 RVA: 0x002111D0 File Offset: 0x0020F3D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectRogueCommonDialogueOptionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OptionId != 0U)
			{
				this.OptionId = other.OptionId;
			}
			if (other.EventUniqueId != 0U)
			{
				this.EventUniqueId = other.EventUniqueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C3AF RID: 50095 RVA: 0x00211220 File Offset: 0x0020F420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C3B0 RID: 50096 RVA: 0x0021122C File Offset: 0x0020F42C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.EventUniqueId = input.ReadUInt32();
					}
				}
				else
				{
					this.OptionId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004EEE RID: 20206
		private static readonly MessageParser<SelectRogueCommonDialogueOptionCsReq> _parser = new MessageParser<SelectRogueCommonDialogueOptionCsReq>(() => new SelectRogueCommonDialogueOptionCsReq());

		// Token: 0x04004EEF RID: 20207
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EF0 RID: 20208
		public const int OptionIdFieldNumber = 8;

		// Token: 0x04004EF1 RID: 20209
		private uint optionId_;

		// Token: 0x04004EF2 RID: 20210
		public const int EventUniqueIdFieldNumber = 14;

		// Token: 0x04004EF3 RID: 20211
		private uint eventUniqueId_;
	}
}
